package com.shishuo.cms.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.shishuo.cms.entity.Picture;

@Repository
public interface PictureDao {
	public int addPicture(Picture picture);

	public Picture getPictureByID(long pictureId);

	public List<Picture> getPictureByProductId(long productId);

	public int updatePicture(Picture picture);

	public int deletePicture(long pictureId);

}
